/**
 * 角色
 */
import request from "@/utils/request"
import commonJs from "@/utils/common"
import ports from "@/utils/ports"

export default {
  edit(data){
    data = commonJs.obj.removeNullKey(data)
    return request({
      url: ports.admin.user.edit,
      method: "post",
      data
    })
  },

}
